Skip to content

chore: ICE subnets rather than AZs for IP unavailability#9054

Open
ryan-mist wants to merge 1 commit intoaws:mainfrom
ryan-mist:subnet-ice-cache
Open

chore: ICE subnets rather than AZs for IP unavailability#9054
ryan-mist wants to merge 1 commit intoaws:mainfrom
ryan-mist:subnet-ice-cache

Conversation

@ryan-mist
Copy link
Copy Markdown
Contributor

@ryan-mist ryan-mist commented Apr 3, 2026

Fixes #N/A

Description
Currently when a subnet runs out of IPs (and we see InsufficientFreeAddressesInSubnet) we ICE the entire AZ - preventing future launches there for 3 minutes (the ICE cache TTL). When a user has configured multiple subnets in an AZ, this incorrectly ICEs the other subnets and prevent what could have been successful launches.

This PR changes the granularity of unavailability cache for IP exhaustion from AZ to subnet.

  • Only when all subnets in a zone are ICEd is the zone marked as unavailable. If not, then we can proceed with launches in that zone and rely on our subnet ordering later on (which orders subnets by IP count from DescribeSubnet)

How was this change tested?

  • make presubmit

Does this change impact docs?

  • Yes, PR includes docs updates
  • Yes, issue opened: #
  • No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@ryan-mist ryan-mist requested a review from a team as a code owner April 3, 2026 23:56
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 3, 2026

Preview deployment ready!

Preview URL: https://pr-9054.d18coufmbnnaag.amplifyapp.com

Built from commit 529b0658cafadaa26a4958e8a5e333f55b215e2a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant